package com.xinyou.u8c.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;

/**
 * <p>
 * 
 * </p>
 *
 * @author chq
 * @since 2023-09-15
 */
@Getter
@Setter
@ApiModel(value = "Figlaccdoctypezjb对象", description = "")
public class Figlaccdoctypezjb implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String accorg;

    private String accset;

    private String budgetaccdocword;

    private String budgetflag;

    @Value("0")
    private String cashflow;

    @Value("0")
    private String cashiersignature;

    private String code;

    private String defaulttype;

    private String fiaccdocword;

    @Value("1")
    private String fiflag;

    private String foreigncurrency;

    private String limitprop;

    private String lmtacctitle;

    private String nameChs;

    private String nameCht;

    private String nameEn;

    private String nameEs;

    private String namePt;

    private String outputformat;

    private String voucherword;

    @Value("2023")
    private String year;

    private String offbalancesheet;

    private String adjusttype;

    @Value("FI_PUBLIC")
    private String securitylevel;

    public List<String> getHeader() {
        return new ArrayList<>(Arrays.asList("ID;ACCORG;ACCSET;BUDGETACCDOCWORD;BUDGETFLAG;CASHFLOW;CASHIERSIGNATURE;CODE;DEFAULTTYPE;FIACCDOCWORD;FIFLAG;FOREIGNCURRENCY;LIMITPROP;LMTACCTITLE;NAME_CHS;NAME_CHT;NAME_EN;NAME_ES;NAME_PT;OUTPUTFORMAT;VOUCHERWORD;YEAR;OFFBALANCESHEET;ADJUSTTYPE;SECURITYLEVEL".split(";")));
    }

    public String[] getFields() {
        return new String[]{"id","accorg","accset","budgetaccdocword","budgetflag","cashflow","cashiersignature","code","defaulttype","fiaccdocword","fiflag","foreigncurrency","limitprop","lmtacctitle","nameChs","nameCht","nameEn","nameEs","namePt","outputformat","voucherword","year","offbalancesheet","adjusttype","securitylevel"};
    }

}
